<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<title>查询结果</title>
<link rel="stylesheet" href="mobile/vendor/jquery-wizard/jquery-wizard.css">
<link rel="stylesheet" href="mobile/vendor/formvalidation/formValidation.css">
<link rel="stylesheet" href="mobile/css/examples/forms/validation.css">


<link rel="stylesheet" href="mobile/css/custom-mobile.css"><!--自定义样式-->
<%@include file="/context/mytags.jsp"%>

<%@include file="/webpage/mobile/mobile_head.jsp"%>
<div class="page animation-fade page-forms">
    <div class="page-content container-fluid" style="overflow:hidden">
        <div class="panel" id="exampleWizardForm">
            <div class="panel-heading">
                <h3 class="panel-title"></h3>
            </div>
            <div class="panel-body">

                <div class="steps steps-sm row" data-plugin="matchHeight" data-by-row="true" role="tablist">
                    <div class="step col-md-2 current" data-target="#exampleSfzhy" role="tab">
                        <span class="step-number">1</span>
                        <div class="step-desc">
                            <span class="step-title">身份证核验</span>
                            <p>请核对身份证信息</p>
                        </div>
                    </div>
                    <div class="step col-md-2" data-target="#exampleXcaj" role="tab">
                        <span class="step-number">2</span>
                        <div class="step-desc">
                            <span class="step-title">二手车按揭</span>
                            <p>请填写申请人信息</p>
                        </div>
                    </div>
                    <div class="step col-md-2" data-target="#exampleZjsc" role="tab">
                        <span class="step-number">3</span>
                        <div class="step-desc">
                            <span class="step-title">证件上传</span>
                            <p>请上传证件信息</p>
                        </div>
                    </div>
                    <div class="step col-md-2" data-target="#exampleSf" role="tab">
                        <span class="step-number">4</span>
                        <div class="step-desc">
                            <span class="step-title">上访</span>
                            <p>请填写上访信息</p>
                        </div>
                    </div>
                    <div class="step col-md-2" data-target="#exampleGetting" role="tab">
                        <span class="step-number">5</span>
                        <div class="step-desc">
                            <span class="step-title">提交</span>
                            <p></p>
                        </div>
                    </div>
                </div>


                <div class="wizard-content">
                    <div class="wizard-pane active" id="exampleSfzhy" role="tabpanel">
                        <form id="photosfzForm"  autocomplete="off" action="fxjMobileJjSfzhyController.do?sfzsb" method="post">
                            <div class="row row-lg">
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <h4 class="example-title">身份证正面拍照</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${sfzhy.sfzzmpz}" type="image" displayTxt="false" bizType="photosucai" auto="true" name="sfzzmpz" fileNumLimit="1" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <h4 class="example-title">身份证反面拍照</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${sfzhy.sfzfmpz}" type="image" displayTxt="false" bizType="photosucai" auto="true" name="sfzfmpz" fileNumLimit="1" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row row-lg">
                                <div class="col-lg-12 text-left margin-top-15">
                                    <button type="submit" class="btn btn-primary">身份证识别</button>
                                </div>
                            </div>
                        </form>
                        <hr>
                        <p><span class="required">*</span>请先上传身份证并识别</p>
                        <form id="photozrpzForm"  autocomplete="off" action="fxjMobileJjSfzhyController.do?rlsb" method="post">
                            <div class="row row-lg">
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <h4 class="example-title">真人拍照1</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${sfzhy.zrpz1}" type="image" displayTxt="false" bizType="photosucai" auto="true" name="zrpz1" fileNumLimit="1" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <h4 class="example-title">真人拍照2</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${sfzhy.zrpz2}" type="image" displayTxt="false" bizType="photosucai" auto="true" name="zrpz2" fileNumLimit="1" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row row-lg">
                                <div style="display: none">
                                    <input type="" name="xm" id="rlsb_name">
                                    <input type="" name="sfzh" id="rlsb_sfzh">
                                </div>
                                <div class="col-lg-12 text-left margin-top-15">
                                    <button type="submit" class="btn btn-primary" id="btn_rlsb"  >人脸识别</button>
                                </div>
                            </div>
                        </form>
                        <hr>

                        <form id="exampleSfzhyForm" autocomplete="off"
                              action="fxjMobileJjSfzhyController.do?doAddOrUpdate" method="post">
                            <div class="row row-lg">
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <label class="control-label"
                                               for="sfzhy_xm">姓名<%--<span class="required">*</span>--%></label>
                                        <input type="text" onblur="setvalue()" class="form-control" id="sfzhy_xm"
                                               name="Xm" <%--required="required"--%> value="${sfzhy.xm}">
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label"
                                        >性别<%--<span class="required">*</span>--%></label>
                                        <%--<input type="text" class="form-control" id="sfzhy_xb" name="Xb"--%>
                                        <%--placeholder="" &lt;%&ndash;required="required"&ndash;%&gt; value="${sfzhy.xb}">--%>


                                        <div class="input-group">
                                            <div class="m-radio-horizontal">
                                                <div class="radio-custom radio-primary">
                                                    <input type="radio" id="inputAwesome1v" name="sqfqqs"
                                                           value="男" ${sfzhy.xb=="男"?"checked":""}>
                                                    <label for="inputAwesome">男</label>
                                                </div>
                                            </div>
                                            <div class="m-radio-horizontal">
                                                <div class="radio-custom radio-primary">
                                                    <input type="radio" id="inputVeryAwesome1n" name="sqfqqs"
                                                           value="女" ${sfzhy.xb=="女"?"checked":""}>
                                                    <label for="inputVeryAwesome">女</label>
                                                </div>
                                            </div>


                                        </div>


                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label"
                                               for="sfzhy_csrq">出生日期<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="sfzhy_csrq" name="Csrq" data-plugin="datepicker" data-language="zh-CN"
                                               placeholder="" <%--required="required"--%> value="${sfzhy.csrq}">
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label"
                                               for="sfzhy_mz">民族<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="sfzhy_mz" name="mz"
                                               placeholder="" <%--required="required"--%> value="${sfzhy.mz}">
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label"
                                               for="sfzhy_sfzh">身份证号<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="sfzhy_sfzh" name="Sfzh"
                                               placeholder="" <%--required="required"--%> value="${sfzhy.sfzh}">
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <label class="control-label"
                                               for="sfzhy_sjh">手机号<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="sfzhy_sjh" name="Sjh" onchange="setvalue()"
                                               placeholder="" <%--required="required"--%> value="${sfzhy.sjh}">
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label"
                                               for="sfzhy_zjyxq">证件有效期<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="sfzhy_zjyxq" name="Zjyxq" data-plugin="datepicker" data-language="zh-CN"
                                               placeholder="" <%--required="required"--%> value="${sfzhy.zjyxq}">
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label"
                                               for="sfzhy_hjdz">户籍地址<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="sfzhy_hjdz" name="Hjdz"
                                               placeholder="" <%--required="required"--%> value="${sfzhy.hjdz}">
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label"
                                               for="ssfzhy_qfjg">签发机关<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="sfzhy_qfjg" name="qfjg"
                                               placeholder="" <%--required="required"--%> value="${sfzhy.qfjg}">
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label"
                                               for="sfzhy_rlsb">人脸识别结果<%--<span class="required">*</span>--%></label>
                                        <div class="checkbox-custom checkbox-success">
                                            <input type="checkbox" id="sfzhy_rlsb" name="rlsb" disabled="">
                                            <label></label>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="row row-lg" style="display: none">
                                <input type="hidden" class="form-control" id="sfzhy_keyid" name="keyid" placeholder=""
                                       value="${item.keyid}">

                                <input type="hidden" class="form-control" id="sfzpzzm" name="sfzzmpz" placeholder=""
                                       value="${sfzhy.sfzzmpz}">
                                <input type="hidden" class="form-control" id="sfzpzfm" name="sfzfmpz" placeholder=""
                                       value="${sfzhy.sfzfmpz}">
                                <input type="hidden" class="form-control" id="zrpz1" name="zrpz1" placeholder=""
                                       value="${sfzhy.zrpz1}">
                                <input type="hidden" class="form-control" id="zrpz2" name="zrpz2" placeholder=""
                                       value="${sfzhy.zrpz2}">

                                <div class="col-lg-12 text-right margin-top-15">
                                    <button type="" class="btn btn-primary" id="validateButtonsfzhy"
                                            onclick="sub('exampleSfzhyForm');">提交
                                    </button>
                                </div>
                            </div>
                        </form>
                    </div>

                    <div class="wizard-pane" id="exampleXcaj" role="tabpanel">
                        <form id="exampleXcajForm"  autocomplete="off" action="fxjMobileJjSqbController.do?doAddOrUpdate" method="post">
                            <h4 class="example-title">申请人基本信息</h4>
                            <div class="row row-lg">
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <label class="control-label" for="xcaj_xm">姓名<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="xcaj_xm" name="xm" placeholder="请输入姓名" <%--required="required"--%> value="${item.xm}">
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label" for="xcaj_dwdh">单位电话<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="xcaj_dwdh" name="dwdh" placeholder="请输入单位电话" <%--required="required"--%> value="${item.dwdh}">
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label" for="xcaj_jtzz">家庭住址<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="xcaj_jtzz" name="jtzz" placeholder="请输入家庭住址" <%--required="required"--%> value="${item.jtzz}">
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label"
                                               for="xcaj_sfzjlx">身份证号<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="xcaj_sfzjlx" name="Sfzjlx"
                                               placeholder="请输入身份证号" <%--required="required"--%> value="${item.sfzjlx}">
                                    </div>
                                    <%-- <div class="form-group form-material">
                                         <label class="control-label"
                                                for="xcaj_sfzjlx">身份证件类型&lt;%&ndash;<span class="required">*</span>&ndash;%&gt;</label>
                                         <select class="form-control" id="xcaj_sfzjlx" name="Sfzjlx"
                                                 placeholder="请选择身份证件类型" &lt;%&ndash;required="required"&ndash;%&gt;>
                                             <option ${item.sfzjlx=="居民身份证"?"selected = \"selected\"":""}>居民身份证</option>
                                             <option ${item.sfzjlx=="士兵证"?"selected = \"selected\"":""}>士兵证</option>
                                             <option ${item.sfzjlx=="军官证"?"selected = \"selected\"":""}>军官证</option>
                                             <option ${item.sfzjlx=="警官证"?"selected = \"selected\"":""}>警官证</option>
                                             <option ${item.sfzjlx=="护照"?"selected = \"selected\"":""}>护照</option>
                                             <option ${item.sfzjlx=="其它"?"selected = \"selected\"":""}>其它</option>
                                         </select>
                                     </div>--%>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <label class="control-label" for="xcaj_gzdh">工作电话<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="xcaj_gzdh" name="gzdh" <%--required="required"--%> value="${item.gzdh}">
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label" for="xcaj_sjhm">手机号码<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="xcaj_sjhm" name="sjhm" placeholder="请输入手机号码" <%--required="required"--%> value="${item.sjhm}">
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label" for="xcaj_jtdh">家庭电话<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="xcaj_jtdh" name="jtdh" placeholder="请输入家庭电话" <%--required="required"--%> value="${item.jtdh}">
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-12 col-sm-3 control-label">工行信用卡 <%--<span class="required">*</span>--%>
                                        </label>
                                        <div class="col-lg-12 col-sm-9">
                                            <div class="input-group">
                                                <div class="m-radio-horizontal">
                                                    <div class="radio-custom radio-primary">
                                                        <input type="radio" id="inputAwesome" name="ghxyk" value="有" ${item.ghxyk=="有"?"checked":""}>
                                                        <label for="inputAwesome">有</label>
                                                    </div>
                                                </div>
                                                <div class="m-radio-horizontal">
                                                    <div class="radio-custom radio-primary">
                                                        <input type="radio" id="inputVeryAwesome" name="ghxyk" value="无" ${item.ghxyk=="无"?"checked":""}>
                                                        <label for="inputVeryAwesome">无</label>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <hr style="margin-top: 50px;"/>
                            <h4 class="example-title">指定经销商基本信息</h4>
                            <div class="row row-lg">
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <label class="control-label" for="xcaj_zdjxsmc">指定经销商名称<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="xcaj_zdjxsmc" name="zdjxsmc" placeholder="请输入指定经销商名称" <%--required="required"--%> value="${item.zdjxsmc}">
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label" for="xcaj_zdjxsdz">指定经销商地址<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="xcaj_zdjxsdz" name="zdjxsdz" placeholder="请输入单位电话" <%--required="required"--%> value="${item.zdjxsdz}">
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label" for="xcaj_lxdh">联系电话<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="xcaj_lxdh" name="lxdh" placeholder="请输入联系电话" <%--required="required"--%> value="${item.lxdh}">
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <label class="control-label" for="xcaj_tysbh">特约商编号<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="xcaj_tysbh" name="tysbh" <%--required="required"--%> value="${item.tysbh}">
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label" for="xcaj_lxr">联系人<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="xcaj_lxr" name="lxr" placeholder="请输入联系人" <%--required="required"--%> value="${item.lxr}">
                                    </div>
                                </div>
                            </div>

                            <hr style="margin-top: 50px;"/>
                            <h4 class="example-title">订购汽车信息</h4>
                            <div class="row row-lg">
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <label class="control-label" for="escaj_dgqcpp">订购二手汽车品牌<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="escaj_dgqcpp" name="dgqcpp" placeholder="请输入订购汽车品牌" <%--required="required"--%> value="${item.dgqcpp}">
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label" for="escaj_gmjg">购买价格（人民币）<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="escaj_gmjg" name="gmjg" placeholder="请输入购买价格（人民币）" <%--required="required"--%> value="${item.gmjg}">
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="col-lg-12 col-sm-3 control-label" >担保方式 <%--<span class="required">*</span>--%>
                                        </label>
                                        <div class="col-lg-12 col-sm-9">
                                            <div class="input-group">
                                                <div class="m-radio-horizontal">
                                                    <div class="radio-custom radio-primary">
                                                        <input type="radio" id="bz" name="dbfs" value="保证" <%--required=""--%> ${item.dbfs=="保证"?"checked":""}>
                                                        <label for="bz">保证</label>
                                                    </div>
                                                </div>
                                                <div class="m-radio-horizontal">
                                                    <div class="radio-custom radio-primary">
                                                        <input type="radio" id="zd" name="dbfs" value="质押" ${item.dbfs=="质押"?"checked":""}>
                                                        <label for="zd">质押</label>
                                                    </div>
                                                </div>
                                                <div class="m-radio-horizontal">
                                                    <div class="radio-custom radio-primary">
                                                        <input type="radio" id="cldy" name="dbfs" value="以所购车辆抵押" ${item.dbfs=="以所购车辆抵押"?"checked":""}>
                                                        <label for="cldy">以所购车辆抵押</label>
                                                    </div>
                                                </div>
                                                <div class="m-radio-horizontal">
                                                    <div class="radio-custom radio-primary">
                                                        <input type="radio" id="qt" name="dbfs" value="其他" ${item.dbfs=="其他"?"checked":""}>
                                                        <label for="qt">其他</label>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <label class="control-label" for="escaj_qcxh">汽车型号<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="escaj_qcxh" name="qcxh" <%--required="required"--%> value="${item.qcxh}">
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label" for="escaj_sfje">首付金额（人民币）</label>
                                        <input type="text" class="form-control" id="escaj_sfje" name="sfje" placeholder="请输入首付金额（人民币）" <%--required="required"--%> value="${item.sfje}">
                                    </div>
                                </div>
                            </div>

                            <hr style="margin-top: 50px;"/>
                            <h4 class="example-title">申请分期信息</h4>
                            <div class="row row-lg">
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <label class="control-label" for="inputAwesome1">申请分期期数<%--<span class="required">*</span>--%></label>
                                        <div class="col-lg-12 col-sm-9">
                                            <div class="input-group">
                                                <div class="m-radio-horizontal">
                                                    <div class="radio-custom radio-primary">
                                                        <input type="radio" id="inputAwesome1" name="sqfqqs"
                                                               value="12" ${item.sqfqqs==12?"checked":""}>
                                                        <label for="inputAwesome">12</label>
                                                    </div>
                                                </div>
                                                <div class="m-radio-horizontal">
                                                    <div class="radio-custom radio-primary">
                                                        <input type="radio" id="inputVeryAwesome1" name="sqfqqs"
                                                               value="24" ${item.sqfqqs==24?"checked":""}>
                                                        <label for="inputVeryAwesome">24</label>
                                                    </div>
                                                </div>
                                                <div class="m-radio-horizontal">
                                                    <div class="radio-custom radio-primary">
                                                        <input type="radio" id="inputVeryAwesome1" name="sqfqqs"
                                                               value="36" ${item.sqfqqs==36?"checked":""}>
                                                        <label for="inputVeryAwesome">36</label>
                                                    </div>
                                                </div>

                                            </div>
                                        </div>

                                    <%--<input type="text" class="form-control" id="xcaj_sqfqqs" name="sqfqqs" placeholder="" &lt;%&ndash;required="required"&ndash;%&gt; value="${item.sqfqqs}">--%>
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label" for="xcaj_sqfqje_xx">申请分期金额（小写）<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="xcaj_sqfqje_xx" onchange="smalltoBIG('xcaj_sqfqje_xx','xcaj_sqfqje_dx')"
                                               name="sqfqjeXx" placeholder="" <%--required="required"--%> value="${item.sqfqjeXx}">
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <label class="control-label" for="xcaj_sqfqje_dx">申请分期金额（大写）<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="xcaj_sqfqje_dx" name="sqfqjeDx" <%--required="required"--%> value="${item.sqfqjeDx}">
                                    </div>
                                </div>
                            </div>
                            <div class="row row-lg" style="display: none">
                                <!--隐藏id-->
                                <div class="form-group form-material" style="display: none">
                                    <label class="col-lg-12 col-sm-3 control-label" for="keyid">keyid
                                    </label>
                                    <div class=" col-lg-12 col-sm-9">
                                        <input type="text" class="form-control" id="keyid" name="keyid" placeholder="" value="${item.keyid}" readonly="readonly">
                                    </div>
                                    <div class=" col-lg-12 col-sm-9">
                                        <input type="text" class="form-control" id="jjlx" name="jjlx" placeholder="" value="二手车按揭" readonly="readonly">
                                    </div>
                                </div>
                                <div class="col-lg-12 text-right margin-top-15">
                                    <button type="" class="btn btn-primary" id="validateButton1" onclick="sub('exampleXcajForm')">提交</button>
                                </div>
                            </div>
                        </form>
                    </div>

                    <div class="wizard-pane" id="exampleZjsc" role="tabpanel">
                        <form id="exampleZjscForm"  autocomplete="off" action="fxjMobileJjZjscController.do?doAddOrUpdate" method="post">
                            <h4 class="example-title">(工行)必要材料</h4>
                            <div class="row row-lg">
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <h4 class="example-title">客户申请表</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${zjsc.khsqb}" type="image"
                                                               displayTxt="false" bizType="photosucai" auto="true"
                                                               name="khsqb" fileNumLimit="10"></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="form-group form-material">
                                        <h4 class="example-title">客户身份证</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${zjsc.khsfz}" type="image" displayTxt="false" bizType="photosucai" auto="true" name="khsfz" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="form-group form-material">
                                        <h4 class="example-title">配偶身份证</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${zjsc.posfz}" type="image" displayTxt="false" bizType="photosucai" auto="true" name="posfz" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="form-group form-material">
                                        <h4 class="example-title">户口本</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${zjsc.hkb}" name="hkb" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="form-group form-material">
                                        <h4 class="example-title">婚姻证明</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${zjsc.hyzm}" name="hyzm" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group form-material">
                                        <h4 class="example-title">行驶证</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${zjsc.xsz}" name="xsz" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="form-group form-material">
                                        <h4 class="example-title">登记证</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${zjsc.djz}" name="djz" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <h4 class="example-title">居住证明</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${zjsc.jzzm}" name="jzzm" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="form-group form-material">
                                        <h4 class="example-title">车险保单</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${zjsc.cxbd}" name="cxbd" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="form-group form-material">
                                        <h4 class="example-title">购车合同</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${zjsc.gcht}" name="gcht" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="form-group form-material">
                                        <h4 class="example-title">首付款证明</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${zjsc.sfkzm}" name="sfkzm" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="form-group form-material">
                                        <h4 class="example-title">车辆合格证明</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${zjsc.clhgzm}" name="clhgzm" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="form-group form-material">
                                        <h4 class="example-title">征信</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${zjsc.zx}" name="zx" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <hr/>
                            <h4 class="example-title">(工行)辅助材料</h4>
                            <div class="row row-lg">
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <h4 class="example-title">营业执照</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${zjsc.yyzz}" name="yyzz" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="form-group form-material">
                                        <h4 class="example-title">其他佐证</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${zjsc.qtzz}" name="qtzz" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <h4 class="example-title">流水</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${zjsc.ls}" name="ls" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="row row-lg" style="display: none">
                                <input type="hidden" class="form-control" id="zjsc_keyid" name="keyid" placeholder="" value="${item.keyid}">
                                <div class="col-lg-12 text-right margin-top-15">
                                    <button type="" class="btn btn-primary" id="validateButtonzjsc" onclick="sub('exampleZjscForm');">提交</button>
                                </div>
                            </div>
                        </form>
                    </div>

                    <div class="wizard-pane" id="exampleSf" role="tabpanel">
                        <form id="exampleSfForm" autocomplete="off" action="fxjMobileJjSfController.do?doAddOrUpdate" method="post">
                            <h4 class="example-title">现场照片</h4>
                            <div class="row row-lg">
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <h4 class="example-title">门牌号</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${sf.mph}" name="mph" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="form-group form-material">
                                        <h4 class="example-title">卧室一</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${sf.ws1}" name="ws1" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="form-group form-material">
                                        <h4 class="example-title">洗手间</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${sf.xsj}" name="xsj" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="form-group form-material">
                                        <h4 class="example-title">阳台</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${sf.yt}" name="yt" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <h4 class="example-title">客厅</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${sf.kt}" name="kt" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="form-group form-material">
                                        <h4 class="example-title">卧室二</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${sf.ws2}" name="ws2" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="form-group form-material">
                                        <h4 class="example-title">厨房</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${sf.cf}" name="cf" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <h4 class="example-title">工作人员及客户合照</h4>
                            <div class="row row-lg">
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <h4 class="example-title">合照</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${sf.hz}" name="hz" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="form-group form-material">
                                        <h4 class="example-title">房屋侧面</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${sf.fwcm}" name="fwcm" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <h4 class="example-title">房屋外观</h4>
                                        <div class="example-wrap">
                                            <div class="example">
                                                <t:webUploader buttonText="拍照上传" pathValues="${sf.fwwg}" name="fwwg" type="image" displayTxt="false" bizType="photosucai" auto="true" fileNumLimit="10" ></t:webUploader>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <h4 class="example-title">调查报告</h4>
                            <div class="row row-lg">
                                <div class="col-sm-12">
                                    <div class="form-group form-material">
                                        <label class="control-label" for="sf_jtxxfk">家庭信息反馈<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="sf_jtxxfk" name="jtxxfk" placeholder="" value="${sf.jtxxfk}"<%--required="required"--%>>
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label" for="sf_gzryzj">工作人员总结<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="sf_gzryzj" name="gzryzj" placeholder="" value="${sf.gzryzj}"<%--required="required"--%>>
                                    </div>
                                </div>
                            </div>
                            <h5 class="example-title">联系人信息</h5>
                            <div class="row row-lg">
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <label class="control-label" for="sf_lxr1">联系人1（姓名）<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="sf_lxr1" name="lxr1" placeholder="" value="${sf.lxr1}"<%--required="required"--%>>
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label" for="sf_gx1">关系<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="sf_gx1" name="gx1" placeholder="" value="${sf.gx1}"<%--required="required"--%>>
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label" for="sf_lxdh1">联系电话<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="sf_lxdh1" name="lxdh1" placeholder="" value="${sf.lxdh1}"<%--required="required"--%>>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group form-material">
                                        <label class="control-label" for="sf_lxr2">联系人2（姓名）<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="sf_lxr2" name="lxr2" placeholder="" value="${sf.lxr2}"<%--required="required"--%>>
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label" for="sf_gx12">关系<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="sf_gx12" name="gx2" placeholder="" value="${sf.gx2}"<%--required="required"--%>>
                                    </div>
                                    <div class="form-group form-material">
                                        <label class="control-label" for="sf_lxdh2">联系电话<%--<span class="required">*</span>--%></label>
                                        <input type="text" class="form-control" id="sf_lxdh2" name="lxdh2" placeholder="" value="${sf.lxdh2}"<%--required="required"--%>>
                                    </div>
                                </div>
                            </div>

                            <div class="row row-lg" style="display: none">
                                <input type="hidden" class="form-control" id="sf_keyid" name="keyid" placeholder="" value="${item.keyid}">
                                <div class="col-lg-12 text-right margin-top-15">
                                    <button type="" class="btn btn-primary" id="validateButtonsf" onclick="tjsq();">提交</button>
                                </div>
                            </div>
                        </form>

                    </div>

                    <div class="wizard-pane" id="exampleGetting" role="tabpanel">
                        <iframe class="J_iframe" id="iframe0" name="iframe0" width="100%" height="100%" src="" frameborder="0" seamless></iframe>
                    </div>
                </div>

            </div>
        </div>

    </div>
</div>


<%@include file="/webpage/mobile/mobile_footer.jsp"%>

<script src="mobile/js/plugin/jquery.form.js"></script>

<script src="mobile/vendor/formvalidation/formValidation.min.js" data-name="formValidation"></script>
<script src="mobile/vendor/formvalidation/framework/bootstrap.min.js" data-deps="formValidation"></script>
<%--<script src="mobile/js/examples/forms/validation.js"></script>--%>
<script src="mobile/vendor/matchheight/jquery.matchHeight.min.js"></script>
<script src="mobile/vendor/jquery-wizard/jquery-wizard.min.js" data-name="wizard"></script>
<script src="mobile/js/plugin/m-wizard.js" data-deps="wizard"></script>

<script src="mobile/js/upload/jquery.ui.widget.js"></script>
<script src="mobile/js/upload/jquery.iframe-transport.js"></script>

<script src="mobile/js/plugin/uuid.js"></script>
<script src="mobile/js/plugin/m-sqb.js" data-deps="wizard"></script>

<script>
    $(document).ready(function(){
        if("${item.keyid}"=="") {
            var uuid = Math.uuid().replace(/-/g, "").toLowerCase();
            $("#keyid").val(uuid);
            $("#sfzhy_keyid").val(uuid);
            $("#zjsc_keyid").val(uuid);
            $("#sf_keyid").val(uuid);
        }
        //alert($("#id").val());
    });

    $(function(){
        /*身份证识别提交*/
        $("#photosfzForm").ajaxForm(function(data){
            data=eval('(' + data + ')');
            if(data.success)
            {
                var sfzzmpzcode=data.attributes.sfzzmpz_code;
                var sfzfmpzcode=data.attributes.sfzfmpz_code;
                if(sfzzmpzcode=='0' || sfzfmpzcode=='0') {
                    //正面
                    var resultstr_zm = data.attributes.sfzzmpz_result;
                    resultstr_zm=eval('(' + resultstr_zm + ')');
                    var realname=jsonVal(resultstr_zm, 'realname');
                    var idcard=jsonVal(resultstr_zm, 'idcard');
                    var address=jsonVal(resultstr_zm, 'address');

                    $('#sfzhy_xm').val(realname);
                    $('#sfzhy_xb').val(jsonVal(resultstr_zm, 'sex'));
                    $('#sfzhy_csrq').val(jsonVal(resultstr_zm, 'born'));
                    $('#sfzhy_mz').val(jsonVal(resultstr_zm, 'nation'));
                    $('#sfzhy_sfzh').val(idcard);
                    //$('sfzhy_#sjh').val();
                    $('#sfzhy_hjdz').val(address);

                    //反面
                    var resultstr_fm = data.attributes.sfzfmpz_result;
                    resultstr_fm=eval('(' + resultstr_fm + ')');
                    $('#sfzhy_zjyxq').val(jsonVal(resultstr_fm,'begin')+'-'+jsonVal(resultstr_fm,'end'));
                    $('#sfzhy_qfjg').val(jsonVal(resultstr_fm,'department'));

                    //人脸识别
                    $('#rlsb_name').val(realname);
                    $('#rlsb_sfzh').val(idcard);
                    $('#btn_rlsb').attr('disabled',false);

                    //保存返回的图片路径
                    $('#sfzpzzm').val(data.attributes.sfzzmpz_imgpath);
                    $('#sfzpzfm').val(data.attributes.sfzfmpz_imgpath);

                    //申请人信息
                    $('#xcaj_xm').val(realname);
                    $('#xcaj_jtzz').val(address);
                    $('#xcaj_sfzjlx').val(idcard);
                }else {
                    alert('身份证识别失败');
                }
            }else{
                alert("识别失败");
            }
        });

        /*人脸识别提交*/
        $("#photozrpzForm").ajaxForm(function(data){
            console.log(data);
            data=eval('(' + data + ')');
            if(data.success)
            {
                var code=data.attributes.zrpz1_ccode;
                var resultstr = data.attributes.zrpz1_result;
                resultstr = eval('(' + resultstr + ')');
                if(code=='0') {
                    alert(jsonVal(resultstr, 'message'));
                    $('#sfzhy_rlsb').attr('checked',true);

                    //保存返回的图片路径
                    $('#zrpz1').val(data.attributes.zrpz1_imgpath);
                    $('#zrpz2').val(data.attributes.zrpz2_imgpath);
                }else{

                }

            }else{
                alert("识别失败");
            }
            return null;
        });
    })

    function setvalue() {
        $('#xcaj_xm').val( $('#sfzhy_xm').val());
        $('#xcaj_sjhm').val( $('#sfzhy_sjh').val());
    }

    //表单提交
    function sub(formid){
        console.log('1');
        $("#"+formid).ajaxSubmit(function (data){
            console.log(JSON.stringify(data));
        });
    }

    //提交申请
    function tjsq() {
        $("#exampleSfForm").ajaxSubmit(function (data) {
            $("#iframe0").attr("src", 'fxjJjMqController.do?goYl&keyid='+$("#keyid").val());
            //console.log(JSON.stringify(data));
        });
    }
</script>